package com.qf.dao.impl;

import com.qf.dao.FangDongDao;

public class FangDongProxyImpl implements FangDongDao {
    FangDongDao fangDongDao = new FangDongDaoImpl();

    public FangDongProxyImpl(FangDongDao fangDongDao) {
        this.fangDongDao = fangDongDao;
    }



    @Override
    public void zuFang() {
        System.out.println("发布广告");
        System.out.println("装修");
        fangDongDao.zuFang();
        System.out.println("签合同");
        System.out.println("收房租");
    }
}
